package com.boc.langxiang.entity.request;

import com.boc.langxiang.manager.UserInfoManager;

/**
 * Created by Li Guoxi on 2016/12/28.
 */

public class PayRequest extends MapParamsRequest {
    private String orderid;
    private String type;

    public static String PAY_WAY_ALIPAY = "1";
    public static String PAY_WAY_WECHATPAY = "2";

    public PayRequest(String orderid, String type) {
        this.orderid = orderid;
        this.type = type;
    }

    @Override
    protected void putParams() {
        params.put("orderid", orderid);
        params.put("type", type);
        params.put("token", UserInfoManager.getInstance().getToken());
    }

    public String getOrderid() {
        return orderid;
    }

    public void setOrderid(String orderid) {
        this.orderid = orderid;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
